package com.matt.service;

import com.matt.domain.Attachment;
import com.matt.foundation.query.AttachmentQuery;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * ***************************
 * Created by Ron
 * from com.matt
 * on 2018/6/26 0026.
 * **************************
 */
public interface AttachmentService {

    Page<Attachment> findPage(AttachmentQuery attachmentQuery, Pageable pageable);

    Attachment save(String ticket, Attachment attachment);
}
